package com.gin.fanbox.response;

import com.gin.fanbox.param.PostListCreatorParam;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**
 * 创作者作品分页地址
 *
 * @author bx002
 * @since 2024/2/6 11:22
 */
public class PostPaginateCreator extends ArrayList<String> {

    public List<PostListCreatorParam> obtainParams() {
        return this.stream().map(PostListCreatorParam::new).collect(Collectors.toList());
    }
}
